import {INCREMENT,DECREMENT} from "../constanst"

export const incrementAC = (value)=>{
    return {
        type:INCREMENT,
        payload:value
    }
}

// export const decrementAction = {
//     type:"decrement",
//     payload:5
// }
export const decrementAC = (value)=>{
    return {
        type:DECREMENT,
        payload:value
    }
}